package com.example.shopping.service;

import com.example.shopping.entity.Admin;
import com.example.shopping.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AdminService {

    public Admin login(String account, String password);

    List<User> getAllUser();

    List<User> getAllUserByPage(int page, int pageSize);


    long count();
}
